package com.whj.apidriver.remote;

import com.whj.internalcommon.dto.ResponseResult;
import com.whj.internalcommon.request.PointsRequestDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: wanghaijun
 * @Date: 2023/1/20 - 01 - 20 - 18:06 
 * @Description: com.whj.apidriver.remote
 */

@FeignClient("service-map")
public interface ServiceMapClient {

    @RequestMapping(method = RequestMethod.POST,value = "/point/upload")
    ResponseResult upload(@RequestBody PointsRequestDTO pointsRequestDTO);
}
